#!/bin/bash
set -e

mkdir -p /data/mongo/keyfile/
openssl rand -base64 756 > /data/mongo/keyfile/testKeyFile.file 
chmod 600 /data/mongo/keyfile/testKeyFile.file